OrientationGrid
|
By: Paul S Cilwa |
Posted: 5/1/2020 |
Unpublished |
Page Views: 4 |
| Hashtags: #Namtira #VisualBasic #VBNET #ClassLibrary #NamtiraLib #OrientationGrid #Orientation #Alignment #CustomControls #WinForms #UserControl |
| A compact 3x3 grid of buttons for selecting a position or alignment—useful for crop alignment, watermark placement, and similar orientation pickers. |
| Estimated reading time: 2 minute(s) (385 words) |
OrientationGrid is a tiny UserControl that arranges nine flat buttons in a 3×3
grid, each representing a position: TopLeft, TopCenter, TopRight, MiddleLeft, Center, MiddleRight,
BottomLeft, BottomCenter, and BottomRight. Click a button and the control highlights it using
ForeColor, sets the Orientation property, and raises
OrientationChanged. It is ideal for crop-alignment pickers, watermark placement
selectors, and any UI that needs a quick spatial position choice.